package com.ruoyi.base.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 供应商对象 t_suppliers
 * 
 * @author YwaiX
 * @date 2024-10-25
 */
public class Supplier extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 公司编号 */
    @Excel(name = "公司编号")
    private String supplierNo;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String companyName;

    /** 公司联系人 */
    @Excel(name = "公司联系人")
    private String contactPerson;

    /** 公司联系方式 */
    @Excel(name = "公司联系方式")
    private String companyTel;

    /** 公司联系人联系方式 */
    @Excel(name = "公司联系人联系方式")
    private String contactTel;

    /** 公司地址 */
    @Excel(name = "公司地址")
    private String address;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSupplierNo(String supplierNo) 
    {
        this.supplierNo = supplierNo;
    }

    public String getSupplierNo() 
    {
        return supplierNo;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setContactPerson(String contactPerson) 
    {
        this.contactPerson = contactPerson;
    }

    public String getContactPerson() 
    {
        return contactPerson;
    }
    public void setCompanyTel(String companyTel) 
    {
        this.companyTel = companyTel;
    }

    public String getCompanyTel() 
    {
        return companyTel;
    }
    public void setContactTel(String contactTel) 
    {
        this.contactTel = contactTel;
    }

    public String getContactTel() 
    {
        return contactTel;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("supplierNo", getSupplierNo())
            .append("companyName", getCompanyName())
            .append("contactPerson", getContactPerson())
            .append("companyTel", getCompanyTel())
            .append("contactTel", getContactTel())
            .append("address", getAddress())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
